﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Organization.Domian.Model
{
    /// <summary>
    /// 单位设置
    /// </summary>
    [Table("UnitsSetup")]
    public class UnitsSetup
    {
        /// <summary>
        /// 主键自增
        /// </summary>
        [Key]
        public int UnitsSetupId { get; set; }

        /// <summary>
        /// 企业名称
        /// </summary>
        [StringLength(30)]
        public string? CompanyName { get; set; }

        /// <summary>
        /// 企业logo
        /// </summary>
        [StringLength(500)]
        public string? CompanyLOGO { get; set; }

        /// <summary>
        /// 行业标签
        /// </summary>
        [StringLength(200)]
        public string? LndustryLabel { get; set; }

        /// <summary>
        /// 详细地址
        /// </summary>
        [StringLength(200)]
        public string? DetailedAddress { get; set; }

        /// <summary>
        /// 企业电话
        /// </summary>
        [StringLength(30)]
        public string? CompanyPhone { get; set; }

        /// <summary>
        /// 统一社会信用吗
        /// </summary>
        [StringLength(30)]
        public string? CreditNumber { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [StringLength(80)]
        public string? Describe { get; set; }

        /// <summary>
        /// 停用企业
        /// </summary>
        public bool BlockUp { get; set; }
        
        /// <summary>
        /// 负责人
        /// </summary>
        [StringLength (200)]
        public string? Principal { get; set; }

        /// <summary>
        /// 可查人员
        /// </summary>
        [StringLength(200)]
        public string? SearchablePerson { get; set; }

    }
}
